package pers.cz.easyexcel.localfile;

import pers.cz.common.connect.ConnectionFactory;

import java.io.File;

/**
 * @program: Jef-orm
 * @description: 连接工厂
 * @author: Cheng Zhi
 * @create: 2023-09-04 20:56
 **/
public class LocalFileConnectionFactory extends ConnectionFactory {

    File file;

    public LocalFileConnectionFactory(File file) {
        this.file = file;
    }

    @Override
    public Object getSource() {
        return file;
    }
}
